﻿<UserControl x:Class="Core.Views.Controls.SynchronisationDatasView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:controls="http://metro.mahapps.com/winfx/xaml/controls"
             xmlns:helpers="clr-namespace:Helpers;assembly=Helpers">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="Auto" />
        </Grid.ColumnDefinitions>

        <controls:ProgressRing IsActive="True" Width="20" Height="20" Foreground="{DynamicResource ColorTextBarreMenuEtatBrush}" Grid.Column="0" HorizontalAlignment="Center" VerticalAlignment="Center"/>
        <TextBlock Text="{helpers:Localize Generic_SynchronisationCurrent}" VerticalAlignment="Center" Foreground="{DynamicResource ColorTextBarreMenuEtatBrush}" Grid.Column="1" Margin="10,0,0,0"/>
        <Button Content="{helpers:Localize Generic_Annuler}" Style="{StaticResource ButtonAppBar}" Command="{Binding CancelSynchroCommand}" VerticalAlignment="Center" Grid.Column="2" Margin="10,0,10,0" Visibility="Collapsed" />
    </Grid>
</UserControl>
